package top.dingwen.io.treasure.sensitive.core;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * FlagIndex : 敏感词标记
 *
 * @author minghu.zhang
 * @since 2024/11/21 09:43
 */
@Getter
@Setter
public class FlagIndex {
     /**
     * 标记结果
     */
    private boolean flag;
    /**
     * 是否黑名单词汇
     */
    private boolean isWhiteWord;
    /**
     * 标记索引
     */
    private List<Integer> index;
}
